﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooUIYGUIModulePoolWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.UI.YGUI.ModulePool);
			Utils.BeginObjectRegister(type, L, translator, 0, 7, 16, 13);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Initialize", _m_Initialize);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Get", _m_Get);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Release", _m_Release);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Destroy", _m_Destroy);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ForceDestroy", _m_ForceDestroy);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Spawn", _m_Spawn);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnSpawn", _m_UnSpawn);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "identifier", _g_get_identifier);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "persistent", _g_get_persistent);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "prefab", _g_get_prefab);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "root", _g_get_root);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isManaged", _g_get_isManaged);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "manager", _g_get_manager);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "spawnCount", _g_get_spawnCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "countAll", _g_get_countAll);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "countActive", _g_get_countActive);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "countInactive", _g_get_countInactive);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_Stack", _g_get_m_Stack);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_ActionOnAlloc", _g_get_m_ActionOnAlloc);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_ActionOnGet", _g_get_m_ActionOnGet);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_ActionOnRelease", _g_get_m_ActionOnRelease);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_ActionOnFree", _g_get_m_ActionOnFree);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_CollectionCheck", _g_get_m_CollectionCheck);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "identifier", _s_set_identifier);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "persistent", _s_set_persistent);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "prefab", _s_set_prefab);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "root", _s_set_root);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "isManaged", _s_set_isManaged);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "manager", _s_set_manager);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "spawnCount", _s_set_spawnCount);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_Stack", _s_set_m_Stack);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_ActionOnAlloc", _s_set_m_ActionOnAlloc);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_ActionOnGet", _s_set_m_ActionOnGet);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_ActionOnRelease", _s_set_m_ActionOnRelease);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_ActionOnFree", _s_set_m_ActionOnFree);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_CollectionCheck", _s_set_m_CollectionCheck);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 7, 1, 1);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "CreatePool", _m_CreatePool_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DestroyPool", _m_DestroyPool_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DestroyPoolAll", _m_DestroyPoolAll_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetPool", _m_GetPool_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Get", _m_Get_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Release", _m_Release_xlua_st_);
            
			
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "m_PoolDict", _g_get_m_PoolDict);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "m_PoolDict", _s_set_m_PoolDict);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 5 && translator.Assignable<UnityEngine.Transform>(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5))
				{
					UnityEngine.Transform _root = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
					string _identifier = LuaAPI.lua_tostring(L, 3);
					Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 4, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
					int _elementCount = LuaAPI.xlua_tointeger(L, 5);
					
					var gen_ret = new Yoozoo.UI.YGUI.ModulePool(_root, _identifier, _prefab, _elementCount);
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				if(LuaAPI.lua_gettop(L) == 4 && translator.Assignable<UnityEngine.Transform>(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 4))
				{
					UnityEngine.Transform _root = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
					string _identifier = LuaAPI.lua_tostring(L, 3);
					Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 4, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
					
					var gen_ret = new Yoozoo.UI.YGUI.ModulePool(_root, _identifier, _prefab);
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.UI.YGUI.ModulePool constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 4 && translator.Assignable<UnityEngine.Transform>(L, 1) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
				{
					UnityEngine.Transform _root = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
					string _identifier = LuaAPI.lua_tostring(L, 2);
					Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 3, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
					int _elementCount = LuaAPI.xlua_tointeger(L, 4);
					
					var gen_ret = new Yoozoo.UI.YGUI.ModulePool(_root, _identifier, _prefab, _elementCount);
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				if(LuaAPI.lua_gettop(L) == 3 && translator.Assignable<UnityEngine.Transform>(L, 1) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 3))
				{
					UnityEngine.Transform _root = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
					string _identifier = LuaAPI.lua_tostring(L, 2);
					Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 3, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
					
					var gen_ret = new Yoozoo.UI.YGUI.ModulePool(_root, _identifier, _prefab);
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.UI.YGUI.ModulePool constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreatePool_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 1, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
                    int _elementCount = LuaAPI.xlua_tointeger(L, 2);
                    
                        var gen_ret = Yoozoo.UI.YGUI.ModulePool.CreatePool( _prefab, _elementCount );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 1&& translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 1)) 
                {
                    Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 1, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
                    
                        var gen_ret = Yoozoo.UI.YGUI.ModulePool.CreatePool( _prefab );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    string _identifier = LuaAPI.lua_tostring(L, 1);
                    Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 2, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
                    int _elementCount = LuaAPI.xlua_tointeger(L, 3);
                    
                        var gen_ret = Yoozoo.UI.YGUI.ModulePool.CreatePool( _identifier, _prefab, _elementCount );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& translator.Assignable<Yoozoo.UI.YGUI.ModulePoolItemBase>(L, 2)) 
                {
                    string _identifier = LuaAPI.lua_tostring(L, 1);
                    Yoozoo.UI.YGUI.ModulePoolItemBase _prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 2, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
                    
                        var gen_ret = Yoozoo.UI.YGUI.ModulePool.CreatePool( _identifier, _prefab );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.UI.YGUI.ModulePool.CreatePool!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DestroyPool_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _identifier = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.UI.YGUI.ModulePool.DestroyPool( _identifier );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DestroyPoolAll_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.UI.YGUI.ModulePool.DestroyPoolAll(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetPool_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    string _identifier = LuaAPI.lua_tostring(L, 1);
                    
                        var gen_ret = Yoozoo.UI.YGUI.ModulePool.GetPool( _identifier );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Get_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    string _identifier = LuaAPI.lua_tostring(L, 1);
                    
                        var gen_ret = Yoozoo.UI.YGUI.ModulePool.Get( _identifier );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Release_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    string _identifier = LuaAPI.lua_tostring(L, 1);
                    Yoozoo.UI.YGUI.ModulePoolItemBase _element = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 2, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
                    
                    Yoozoo.UI.YGUI.ModulePool.Release( _identifier, _element );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Initialize(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _elementCount = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.Initialize( _elementCount );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Get(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Transform>(L, 2)) 
                {
                    UnityEngine.Transform _instantiateRoot = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
                    
                        var gen_ret = gen_to_be_invoked.Get( _instantiateRoot );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 1) 
                {
                    
                        var gen_ret = gen_to_be_invoked.Get(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.UI.YGUI.ModulePool.Get!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Release(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.UI.YGUI.ModulePoolItemBase _element = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 2, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
                    
                    gen_to_be_invoked.Release( _element );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Destroy(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Destroy(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ForceDestroy(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ForceDestroy(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Spawn(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Spawn(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnSpawn(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.UnSpawn(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_identifier(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.identifier);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_persistent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.persistent);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_prefab(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.prefab);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_root(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.root);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isManaged(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isManaged);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_manager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.manager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_spawnCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.spawnCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_countAll(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.countAll);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_countActive(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.countActive);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_countInactive(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.countInactive);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_PoolDict(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.UI.YGUI.ModulePool.m_PoolDict);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_Stack(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.m_Stack);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_ActionOnAlloc(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.m_ActionOnAlloc);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_ActionOnGet(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.m_ActionOnGet);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_ActionOnRelease(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.m_ActionOnRelease);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_ActionOnFree(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.m_ActionOnFree);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_CollectionCheck(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.m_CollectionCheck);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_identifier(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.identifier = LuaAPI.lua_tostring(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_persistent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.persistent = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_prefab(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.prefab = (Yoozoo.UI.YGUI.ModulePoolItemBase)translator.GetObject(L, 2, typeof(Yoozoo.UI.YGUI.ModulePoolItemBase));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_root(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.root = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isManaged(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.isManaged = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_manager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.manager = (Yoozoo.UI.YGUI.ModulePoolManager)translator.GetObject(L, 2, typeof(Yoozoo.UI.YGUI.ModulePoolManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_spawnCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.spawnCount = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_PoolDict(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.UI.YGUI.ModulePool.m_PoolDict = (System.Collections.Generic.Dictionary<string, Yoozoo.UI.YGUI.ModulePool>)translator.GetObject(L, 1, typeof(System.Collections.Generic.Dictionary<string, Yoozoo.UI.YGUI.ModulePool>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_Stack(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_Stack = (System.Collections.Generic.Stack<Yoozoo.UI.YGUI.ModulePoolItemBase>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Stack<Yoozoo.UI.YGUI.ModulePoolItemBase>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_ActionOnAlloc(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_ActionOnAlloc = translator.GetDelegate<UnityEngine.Events.UnityAction<Yoozoo.UI.YGUI.ModulePoolItemBase>>(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_ActionOnGet(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_ActionOnGet = translator.GetDelegate<UnityEngine.Events.UnityAction<Yoozoo.UI.YGUI.ModulePoolItemBase>>(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_ActionOnRelease(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_ActionOnRelease = translator.GetDelegate<UnityEngine.Events.UnityAction<Yoozoo.UI.YGUI.ModulePoolItemBase>>(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_ActionOnFree(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_ActionOnFree = translator.GetDelegate<UnityEngine.Events.UnityAction<Yoozoo.UI.YGUI.ModulePoolItemBase>>(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_CollectionCheck(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.UI.YGUI.ModulePool gen_to_be_invoked = (Yoozoo.UI.YGUI.ModulePool)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_CollectionCheck = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
